package com.data.csv.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

@Data
@TableName(value = "t_user")
public class User {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "user_code")
    private String userCode;

    @TableField(value = "user_name")
    private String userName;

    @TableField(value = "user_password")
    private String userPassword;

    @TableField(value = "role_id")
    private String roleId;

    @TableField(value = "user_phone")
    private String userPhone;

    @TableField(value = "reg_time")
    private String regTime;

    @TableField(value = "user_status")
    private Integer userStatus;

    @TableField(value = "is_lock")
    private String isLock;

    @TableField(value = "last_login_time")
    private Date lastLoginTime;

    @TableField(value = "is_deleted")
    private String isDeleted;

    @TableField(value = "is_online")
    private String isOnline;

    @TableField(value = "error_num")
    private Integer errorNum;
}